﻿using Iworld.Basis.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Author.Model
{
    /// <summary>
    /// 定义用户模块的数据库连接对象
    /// </summary>
    public interface IModelToDbContextOfAuthor : IModelToDbContextOfBase
    {
        /// <summary>
        /// 用户信息的数据存储区
        /// </summary>
        DbSet<Author> Authors { get; set; }

        /// <summary>
        /// 用户金币变化记录数据存储区
        /// </summary>
        DbSet<GoldChangeRecord> GoldChangeRecords { get; set; }

        /// <summary>
        /// 充值卡信息数据存储区
        /// </summary>
        DbSet<RechargeCard> RechargeCards { set; get; }

        /// <summary>
        /// 用户登陆记录的数据存储区
        /// </summary>
        DbSet<AuthorLandingRecord> AuthorLandingRecords { get; set; }

        /// <summary>
        /// 赠送金币记录数据储存区
        /// </summary>
        DbSet<GiveGoldsRecord> GiveGoldsRecords { get; set; }

        /// <summary>
        /// 提现储存区
        /// </summary>
        DbSet<WithdrawalsRecord> WithdrawalsRecords { get; set; }
    }
}
